package sim.utils.rndGen;

public class RGNative extends RandomGenerator {

	private java.util.Random nativeGenerator;
	
	protected RGNative() {
		super();
		this.nativeGenerator = new java.util.Random(this.seed);
	}

	protected RGNative(long seed) {
		super(seed);
		this.nativeGenerator = new java.util.Random(this.seed);
	}

	@Override
	public double next() {
		this.lastRandom = this.nativeGenerator.nextDouble();
		return  this.lastRandom;
	}
}
